package com.feicheng.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author feichengTech
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

	 private static final long serialVersionUID = 1L;

	    @TableId(value = "user_id", type = IdType.AUTO)
	    private Integer userId;

	    public Integer getUserId() {
			return userId;
		}

		public void setUserId(Integer userId) {
			this.userId = userId;
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public String getAccount() {
			return account;
		}

		public void setAccount(String account) {
			this.account = account;
		}

		public String getTel() {
			return tel;
		}

		public void setTel(String tel) {
			this.tel = tel;
		}

		public String getOpenId() {
			return openId;
		}

		public void setOpenId(String openId) {
			this.openId = openId;
		}

		public String getSecId() {
			return secId;
		}

		public void setSecId(String secId) {
			this.secId = secId;
		}

		public Integer getCu() {
			return cu;
		}

		public void setCu(Integer cu) {
			this.cu = cu;
		}

		public LocalDateTime getCt() {
			return ct;
		}

		public void setCt(LocalDateTime ct) {
			this.ct = ct;
		}

		public Integer getUu() {
			return uu;
		}

		public void setUu(Integer uu) {
			this.uu = uu;
		}

		public LocalDateTime getUt() {
			return ut;
		}

		public void setUt(LocalDateTime ut) {
			this.ut = ut;
		}

		private String password;

	    private String account;

	    private String tel;

	    private String openId;

	    private String secId;

	    private Integer cu;

	    private LocalDateTime ct;

	    private Integer uu;

	    private LocalDateTime ut;
	    
//	    @TableField(exist=false)
//	    private List<Integer> roles;
	//
//		public List<Integer> getRoles() {
//			return roles;
//		}
	//
//		public void setRoles(List<Integer> roles) {
//			this.roles = roles;
//		}

    


}
